﻿namespace WP7.Extensions.Extensions
{
    public static class BoolExtensions
    {
        /// <summary>
        /// Returns true if bool is true
        /// </summary>
        /// <param name="self"></param>
        /// <returns></returns>
        public static bool IsTrue(this bool self)
        {
            return self;
        }

        /// <summary>
        /// Returns true if bool is false
        /// </summary>
        /// <param name="self"></param>
        /// <returns></returns>
        public static bool IsFalse(this bool self)
        {
            return !self;
        }
    }
}
